package com.wpx.log.core.handler.field.render;

import org.springframework.stereotype.Component;

import com.wpx.log.core.annotation.OpLogField;

@Component
public class BaseFieldRenderPolicy implements IFieldRenderPolicy {

	@Override
	public Class<?> getType() {
		return Object.class;
	}

	@Override
	public Object render(Object value, OpLogField opLogField) {
		if(value == null) return "";
		return value;
	}


}
